<template>
	<view class="line-title">{{info.FBillNo }}</view>

	<view class="line xl">
		<view class="line-label">甲方：</view>
		<view class="line-content">{{info['F_QUQY_PARTYA.FName']}}</view>
	</view>
	<view class="line xl">
		<view class="line-label">乙方：</view>
		<view class="line-content">{{info['F_QUQY_PARTYB.FName']}}</view>
	</view>
	<view class="line">
		<view class="line-label">业务员：</view>
		<view class="line-content">{{info['F_QUQY_YWY.FName']}}</view>
	</view>
	<view class="line">
		<view class="line-label">联系方式：</view>
		<view class="line-content">{{info.F_QUQY_PHONE}}</view>
	</view>
	<view class="line">
		<view class="line-label">采购单价：</view>
		<view class="line-content">{{info.F_QUQY_MIAOPRICE}} 元/只</view>
	</view>
	<view class="line">
		<view class="line-label">采购总价：</view>
		<view class="line-content">{{info.F_QUQY_MIAOTOTALPRICE}} 元</view>
	</view>
	<view class="line">
		<view class="line-label">合同只数：</view>
		<view class="line-content">{{info.F_QUQY_HTQTY}} 只</view>
	</view>
	<view class="line">
		<view class="line-label">合同单价：</view>
		<view class="line-content">{{info.F_QUQY_HTMPRICE}} 元/只</view>
	</view>
	<view class="line">
		<view class="line-label">合同总价：</view>
		<view class="line-content">{{info.F_QUQY_HTMTOTALPRICE}} 元</view>
	</view>
	<view class="line">
		<view class="line-label">是否自购：</view>
		<view class="line-content">{{info.F_QUQY_ISZG}}</view>
	</view>
	<!-- 	<view class="line">
		<view class="line-label">保证金：</view>
		<view class="line-content">{{info.F_QUQY_BZJPRICE}} 元/只</view>
	</view>
	<view class="line">
		<view class="line-label">风险金：</view>
		<view class="line-content">{{info.F_QUQY_FXPRICE}} 元/只</view>
	</view> -->
	<view class="line">
		<view class="line-label">上苗日期：</view>
		<view class="line-content">{{moment(info.F_QUQY_MIAODATE).format('YYYY-MM-DD')}}</view>
	</view>
	<view class="line">
		<view class="line-label">回收价格：</view>
		<view class="line-content">{{info.F_QUQY_HSPRICE}} 元/只</view>
	</view>
	<Status :status="1" :zoom="0.7" :txt="info.FDocumentStatus"></Status>
</template>

<script setup>
	// 上苗计划列表
	import moment from 'moment'
	import { reactive, getCurrentInstance, ref } from 'vue'
	import { onLoad } from '@dcloudio/uni-app'
	const { proxy } = getCurrentInstance()

	const props = defineProps({
		info: {
			type: Object,
			default: () => {}
		}
	})

	const state = reactive({})
</script>
<style lang="scss" scoped>
	.line-title {
		width: 100%;
		font-weight: 800;
		line-height: 60rpx;
		color: #409eff;
	}

	.line {
		display: flex;
		width: 50%;
		line-height: 60rpx;

		&.xl {
			width: 100%;
		}

		.line-label {
			width: 140rpx;
			text-align: justify;
			text-align-last: justify;
		}
	}
</style>